Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFCORE-6407 Deprecate non-default contructors from AbstractAddStepHandler and AbstractWriteAttributeHandler #5563

Merged
merged 15 commits into from
Sep 28, 2023

Conversation

pferraro
Copy link
Contributor

@pferraro pferraro commented Jun 25, 2023

https://issues.redhat.com/browse/WFCORE-6407

Essentially, this change avoids the need for subsystems to specify AttributeDefinition instances to their add resource and write-attribute operation handlers.
See jira for full rationale.
This change will require minor unit test updates to wildfly, so expect failures in full integration test runs until those fixes are available and merged.
Given that this proposed change affects every add/write-attribute operation, I wanted to make this available for review/feedback as soon as possible.

This should simplify the creation and registration of add and write-attribute operation handlers as well as further reduce our memory footprint, since many operation handler implementations can now be consolidated both within and across subsystems.

Requires #5644 Merged.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jun 25, 2023
@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@pferraro pferraro added the hold Do not merge this PR label Jul 3, 2023
@pferraro
Copy link
Contributor Author

pferraro commented Jul 3, 2023

Added hold label until I sort out some missing domain testsuite changes.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@pferraro
Copy link
Contributor Author

pferraro commented Jul 7, 2023

Full-integration tests failures are addressed by wildfly/wildfly#17007

@pferraro pferraro requested a review from bstansberry July 7, 2023 20:37
@pferraro pferraro removed the hold Do not merge this PR label Jul 7, 2023
@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@pferraro
Copy link
Contributor Author

Rebased against main.

… be explicitly avoided, as these create unnecessary no-op runtime steps.
…or in discovery subsystem. Use static OperationStepHandler instances wherever possible.
…ity references, since these are not present in the model.

Aliases can also be ignored as these are constrainted by the target attribute.
…Handler and ReloadRequiredWriteAttributeHandler constructors.
@bstansberry bstansberry merged commit e1d96fd into wildfly:main Sep 28, 2023
1 check passed
@bstansberry
Copy link
Contributor

Thanks @pferraro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants